package com.qys.wallet.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author
 * @since 2023-09-25
 */
@Getter
@Setter
@TableName("wallet_coin_type")
@Schema(name = "WalletCoinType", description = "")
public class WalletCoinType implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "币种名")
    @TableId(value = "coin_name", type = IdType.INPUT)
    private String coinName;

    @Schema(description = "主链名")
    private String chainName;

    @Schema(description = "状态：1 开启；0 关闭")
    private Byte status;

    @Schema(description = "创建时间")
    private Long createTime;

    @Schema(description = "更新时间")
    private Long updateTime;

    @Schema(description = "币种图标")
    private String coinIcon;

    @Schema(description = "币种兑换U比例")
    private BigDecimal exchange;
}
